package cn.ztr.familyalbum.service;

import cn.ztr.familyalbum.dto.GrowthAlbumDocumentsDto;
import cn.ztr.familyalbum.entity.GrowthAlbumDocuments;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-05-28
 */
public interface IGrowthAlbumDocumentsService extends IService<GrowthAlbumDocuments> {

    /**
     * 条件查询查询订单
     * @param growthAlbumDocumentsDto
     * @return
     */
    public List selectDocument(GrowthAlbumDocumentsDto growthAlbumDocumentsDto);

    /**
     * 订单导出
     * @param dto
     * @param response
     * @throws IOException
     */
    void detailDownload(GrowthAlbumDocumentsDto dto, HttpServletResponse response) throws IOException;

    /**
     * 查询所有订单
     * @return
     */
    public List selectDocumentList();
}
